Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地可以正常显示 但hexo d部署之后 网页无法正常显示 提示模块缺失 #882

Open
Cassieyy opened this issue Jun 1, 2021 · 1 comment

Comments

@Cassieyy
Copy link

Cassieyy commented Jun 1, 2021

您好,yilia主题下部署后网页显示出现问题https://cassieyy.github.io/ 提示我有模块缺失 但是按照
`缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save

3、在根目录_config.yml里添加配置:

jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true
`
做了修改之后仍然无法解决 且尝试在source文件夹下添加CNAME文件 内容为我的域名https://cassieyy.github.io/ 仍然没有解决问题 期待作者回复(顺便为您的contributions点赞!!

@dadaocao
Copy link

同问,解决了吗?我换了设备,在折腾了git分支之后一发不可收拾。本地跑的好好的呀,部署后会报错。至今没有解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants